package cn.tedu.carehome.foundation.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class CheckInfoAddNewDto implements Serializable {
    /**
     * 老人id
     */
    @NotNull(message = "添加失败,老人信息必须提交!")
    private  Long olderId;
    /**
     * 入住时间
     */
    @NotNull(message = "添加失败,入住时间必须提交!")
    private LocalDateTime date;
}
